package cn.itcast.dao;

import cn.itcast.domain.Order;

import java.util.List;
import java.util.Map;

public interface OrderMapper {

    //根据套餐id和会员id
    List<Order> findByCondition(Order order);

    //保存预约信息
    void insert(Order order);

    Map findById(Integer id);

    Integer findOrderCountByDate(String today);

    Integer findOrderCountAfterDate(String thisWeekMonday);

    Integer findVisitsCountByDate(String today);

    Integer findVisitsCountAfterDate(String thisWeekMonday);

    List<Map> findHotSetmeal();
}
